public class Example3_8 {
  public static void main (String args[]) {
    int a[]={1,2,3,4};
    char b[]={'a','b','c','d'};
    for(int i:a) {
      System.out.println(i);
    }
    for(char ch:b) {
      System.out.println(ch);
    }
  }
}
